/**
 * @file Tracker.cpp
 * @author enemy1205 (enemy1205@qq.com)
 * @brief 追踪器基类
 * @date 2021-10-03
 */
#include "Tracker.h"

Tracker::Tracker() {
    this->vanish_num = 0;
    this->isTrackerMatched = false;
    this->predicted_angle = cv::Point2f(0, 0);
    this->predicted_center = cv::Point2f(0, 0);
    this->kalmanInited = false;
    this->kalmanInited_dis = false;
    this->KF_Dis = KalmanFilterX<2, 2>(kalmanFilterParam.DIS_PROCESS_ERROR, kalmanFilterParam.DIS_MEASURE_ERROR);
    this->KF_Dis.setH(Matx<float, 2, 2>::eye());
}
